package com.neusoft.ysu.npms.service;

import com.github.pagehelper.PageInfo;
import com.neusoft.ysu.npms.pojo.Department;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neusoft.ysu.npms.pojo.DepartmentInfo;
import com.neusoft.ysu.npms.pojo.Farmer;
import com.neusoft.ysu.npms.pojo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */

public interface IDepartmentService extends IService<Department> {

    Result add(Department department);
    Result deleteMeasure(Department department);
    Result updateMeasure(Department department);
    Result selectAll();
    Result findById(Department department);
    PageInfo getlist(DepartmentInfo departmentInfo, int pageNum, int pageSize);
}
